package com.tau.egonetwork.threads.core;

import java.util.concurrent.Callable;

public abstract class EgoNetworkCallable<A, T> implements Callable<T> {

	private volatile A argument;
	
	public EgoNetworkCallable(A arg) {
		argument = arg;
	}
	
	public EgoNetworkCallable() { }
	
	public void setArgument(A arg) {
		argument = arg;
	}
	
	public A getArgument() {
		return argument;
	}
	
}
